package ten.test_10_15;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;

public class TestMain2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        int n = str.length();
        StringBuilder stringBuilder = new StringBuilder(str);
        for (int i = 1; i <= n; i++) {
            char c = stringBuilder.charAt(i - 1);
            stringBuilder.deleteCharAt(i - 1);
            stringBuilder.append(c);
        }
        System.out.println(stringBuilder.toString());
    }
}
